const menus = [
    {
        name: "系统管理",
        path: "system",
        isMenu: true,
        children: [
            {
                name: "用户管理",
                path: "userManage",
                isMenu: true,
                component: () => import('@/views/main/system/userManage.vue'),
            }
        ]

    },
    {
        name: "流程管理",
        path: "bpmn",
        isMenu: true,
        children: [
            {
                name: "流程定义",
                path: "processdefineManage",
                isMenu: true,
                component: () => import('@/views/bpmn/processDefine/processdefineManage.vue'),
            },
            {
                name: "流程新增",
                path: "processDefineAdd",
                isMenu: false,
                component: () => import('@/views/bpmn/processDefine/processdefineAdd.vue'),
            },
            {
                name: "流程详情",
                path: "processDefineInfo",
                isMenu: false,
                component: () => import('@/views/bpmn/processDefine/processdefineInfo.vue'),
                props(route) {
                    //  return route.query  想传别的回去也行,但我们直接传params回去
                    return route.params
                }
            }
        ]
    },
    {
        name: "测试管理",
        path: "test",
        isMenu: true,
        children: [
            {
                name: "测试manage",
                path: "testManage",
                isMenu: true,
                component: () => import('@/views/test/testManage/testManage.vue'),
            }

        ]
    }
]


export default menus
